<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" href="/Public/foundation/foundation.min.css">
    <script src="__FUND_JQ __"></script>
    <script src="/Public/foundation/foundation.min.js"></script>
    <script src="/Public/foundation/modernizr.js"></script>
</head>
<body>
<nav class="top-bar" data-topbar>
    <ul class="title-area">
        <li class="name">
            <!-- 如果你不需要标题或图标可以删掉它 -->
            <h1><a href="#">后台管理</a></h1>
        </li>
    </ul>
    <section class="top-bar-section">
        <ul class="right">
            <li class="active"><a href="<?php echo U(login);?>">登录</a></li>
            <li><a href="#">注销</a></li>
        </ul>
    </section>
</nav>
<div>
    <div class="small-2 columns">
        <ul class="side-nav">
            <li><a href="<?php echo U(showUsers);?>">用户管理</a></li>
            <li><a href="#">Link 2</a></li>
            <li><a href="#">Link 3</a></li>
            <li><a href="#">Link 4</a></li>
        </ul>
    </div>
    <div class="small-10 columns">
        
    <form action="<?php echo U(doAddUser);?>" method="post" enctype="multipart/form-data">
        <fieldset>
            <legend>添加管理员</legend>
            <label>用户名
                <input type="text" name="uname">
            </label>
            <label>昵称
                <input type="text" name="uni">
            </label>
            <label>密码
                <input type="password" name="pwd">
            </label>
            <label>确认密码
                <input type="password" name="pwd1">
            </label>
            <label>邮箱
                <input type="text" name="email">
            </label>
            <label>手机
                <input type="text" name="tel">
            </label>
            <label>上传头像
                <input type="file" name="file">
            </label>
            <label>
                验证码
                <input type="text" name="code" >
                <img onclick="this.src=this.src+'?'+ Math.random()" src="<?php echo U('vlidecode');?>" alt="">
            </label>
            <label>
                <input class="button" type="submit" value="保存">
            </label>
        </fieldset>
    </form>

    </div>
</div>
</body>
</html>